package thinkingInJava.generics;

//: generics/LimitsOfInference.java
import java.util.*;
import thinkingInJava.typeinfo.Pet;

public class LimitsOfInference {
static void
f(Map<Person, List<? extends Pet>> petPeople) {}
public static void main(String[] args) {
  // f(New.map()); // Does not compile 泛型只有赋值时才会自动判断类型
}
} ///:~
